package edu.nbut.hotel.model.dao;

import edu.nbut.hotel.model.dto.Bill;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface BillDao {

    List<Bill> queryAll();
    Bill queryById(long billId);
    List<Bill> queryButRoomId(int roomId);
    List<Bill> queryByRoomNumber(String roomNumber);
    List<Bill> queryByRoomType(String roomType);
    List<Bill> queryByGuestId(int guestId);
    List<Bill> queryBuGuestName(String guestName);
    boolean addBill(Bill bill);
}
